package com.cheer.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author cheer
 */
@Data
public class MallComplaintAddDTO {

    @NotBlank(message = "投诉内容不能为空")
    @Length(max = 255, message = "投诉内容字符数不能超过255")
    private String content;

    private String orderNumber;

    @NotBlank(message = "联系方式不能为空")
    @Length(max = 20, message = "联系方式字符数不能超过20")
    private String phone;
}
